package com.ztgf.sms.models.dto.sms;

import com.baomidou.mybatisplus.annotations.TableName;
import com.ztgf.common.dto.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 文件用户表DTO
 *
 * @author mxli
 * @Date 2020-10-15 14:32:14
 */
@Data
@TableName("sms_user")
@ApiModel(value = "文件用户表对象", description = "文件用户表对象")
public class SmsUserDTO extends BaseDTO implements Serializable {

    @ApiModelProperty(value = "头像")
    private String avatar;
    @ApiModelProperty(value = "账号")
    private String account;
    @ApiModelProperty(value = "密码")
    private String password;
    @ApiModelProperty(value = "密码盐")
    private String salt;
    @ApiModelProperty(value = "电话")
    private String mobile;
    @ApiModelProperty(value = "邮箱")
    private String email;
    @ApiModelProperty(value = "姓名")
    private String name;
    @ApiModelProperty(value = "状态 0启用，1冻结、2删除")
    private Integer status;
    @ApiModelProperty(value = "0 admin 1其他用户")
    private Integer type;
    @ApiModelProperty(value = "乐观锁")
    private Integer revision;
    @ApiModelProperty(value = "创建人")
    private Long createUserId;
    @ApiModelProperty(value = "更新人")
    private Long updateUserId;
    @ApiModelProperty(value = "文件大小：单位默认M")
    private Long fileSize;
    @ApiModelProperty(value = "通道id")
    private Long passagewayId;
}